package com.example.wanghao.wangyixinwen.bean;

import java.util.List;

/**
 * Created by wanghao on 2016/5/21.
 */
public class NewItemBean {

    /**
     * retcode : 200
     * data : {"topic":[{"id":10101,"title":"北京","sort":1,"description":"11111111","url":"http://169.254.44.234:8080/zhbj/10007/list_1.json","listimage":"http://169.254.44.234:8080/zhbj/10007/1452327318UU91.jpg"},{"id":10100,"title":"222222222222","sort":2,"description":"22222222","url":"http://169.254.44.234:8080/zhbj/10007/list_1.json","listimage":"http://169.254.44.234:8080/zhbj/10007/1452327318UU91.jpg"}],"title":"北京","more":"/10007/list_2.json","news":[{"id":35311,"title":"网上大讲堂第368期预告：义务环保人人有责","commenturl":"http://zhbj.qianlong.com/client/user/newComment/35319","commentlist":"http://169.254.44.234:8080/zhbj/10007/comment_1.json","pubdate":"2014-10-1113:18","type":"news","comment":true,"url":"http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html","listimage":"http://169.254.44.234:8080/zhbj/10007/2078369924F9UO.jpg"},{"id":35312,"title":"马路改建为停车场车位年费高达3000元","commenturl":"http://zhbj.qianlong.com/client/user/newComment/35319","commentlist":"http://169.254.44.234:8080/zhbj/10007/comment_1.json","pubdate":"2014-10-1111:20","type":"news","comment":true,"url":"http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html","listimage":"http://169.254.44.234:8080/zhbj/10007/1509585620ASS3.jpg"},{"id":35313,"title":"北京两年内将迁出1200家工业污染企业","commenturl":"http://zhbj.qianlong.com/client/user/newComment/35319","commentlist":"http://169.254.44.234:8080/zhbj/10007/comment_1.json","pubdate":"2014-10-1110:34","type":"news","comment":true,"url":"http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html","listimage":"http://169.254.44.234:8080/zhbj/10007/1506815057D99I.jpg"},{"id":35314,"title":"大雾再锁京城机场航班全部延误","commenturl":"http://zhbj.qianlong.com/client/user/newComment/35319","commentlist":"http://169.254.44.234:8080/zhbj/10007/comment_1.json","pubdate":"2014-10-1110:08","type":"news","comment":true,"url":"http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html","listimage":"http://169.254.44.234:8080/zhbj/10007/1505891536Z82T.jpg"},{"id":35315,"title":"APEC会议期间调休企业员工盼同步放假","commenturl":"http://zhbj.qianlong.com/client/user/newComment/35319","commentlist":"http://169.254.44.234:8080/zhbj/10007/comment_1.json","pubdate":"2014-10-1110:03","type":"news","comment":true,"url":"http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html","listimage":"http://169.254.44.234:8080/zhbj/10007/1483727032VMXT.jpg"},{"id":35316,"title":"机械\u201c龙马\u201d巡演17日亮相奥园","commenturl":"http://zhbj.qianlong.com/client/user/newComment/35319","commentlist":"http://169.254.44.234:8080/zhbj/10007/comment_1.json","pubdate":"2014-10-1109:59","type":"news","comment":true,"url":"http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html","listimage":"http://169.254.44.234:8080/zhbj/10007/1481879990BEMG.jpg"},{"id":35310,"title":"门头沟获批100套限价房","commenturl":"http://zhbj.qianlong.com/client/user/newComment/35319","commentlist":"http://169.254.44.234:8080/zhbj/10007/comment_1.json","pubdate":"2014-10-1109:54","type":"news","comment":true,"url":"http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html","listimage":"http://169.254.44.234:8080/zhbj/10007/14800329488K7F.jpg"},{"id":35318,"title":"APEC期间净空区放带灯风筝可拘留","commenturl":"http://zhbj.qianlong.com/client/user/newComment/35319","commentlist":"http://169.254.44.234:8080/zhbj/10007/comment_1.json","pubdate":"2014-10-1109:52","type":"news","comment":true,"url":"http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html","listimage":"http://169.254.44.234:8080/zhbj/10007/14791094274LT9.jpg"},{"id":35314,"title":"今起两自住房摇号","commenturl":"http://zhbj.qianlong.com/client/user/newComment/35314","commentlist":"http://169.254.44.234:8080/zhbj/10007/comment_1.json","pubdate":"2014-10-1109:48","type":"news","comment":true,"url":"http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html","listimage":"http://169.254.44.234:8080/zhbj/10007/1478185906G9WQ.jpg"},{"id":35117,"title":"故宫神武门广场拟夜间开放停车","commenturl":"http://zhbj.qianlong.com/client/user/newComment/35117","commentlist":"http://169.254.44.234:8080/zhbj/10007/comment_1.json","pubdate":"2014-10-1109:45","type":"news","comment":true,"url":"http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html","listimage":"http://169.254.44.234:8080/zhbj/10007/1477262385PASS.jpg"}],"countcommenturl":"http://zhbj.qianlong.com/client/content/countComment/","topnews":[{"id":35301,"title":"蜗居生活","topimage":"http://169.254.44.234:8080/zhbj/10007/1452327318UU91.jpg","commenturl":"http://zhbj.qianlong.com/client/user/newComment/35301","commentlist":"http://169.254.44.234:8080/zhbj/10007/comment_1.json","pubdate":"2014-04-0814:24","type":"news","comment":true,"url":"http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html"},{"id":35125,"title":"中秋赏月","topimage":"http://169.254.44.234:8080/zhbj/10007/1452327318UU92.jpg","commenturl":"http://zhbj.qianlong.com/client/user/newComment/35125","commentlist":"http://169.254.44.234:8080/zhbj/10007/comment_1.json","pubdate":"2014-04-0809:09","type":"news","comment":true,"url":"http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html"},{"id":35126,"title":"天空翱翔","topimage":"http://169.254.44.234:8080/zhbj/10007/1452327318UU93.jpg","commenturl":"http://zhbj.qianlong.com/client/user/newComment/35125","commentlist":"http://169.254.44.234:8080/zhbj/10007/comment_1.json","pubdate":"2014-04-0809:09","type":"news","comment":true,"url":"http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html"},{"id":35127,"title":"感官设计","topimage":"http://169.254.44.234:8080/zhbj/10007/1452327318UU94.png","commenturl":"http://zhbj.qianlong.com/client/user/newComment/35125","commentlist":"http://169.254.44.234:8080/zhbj/10007/comment_1.json","pubdate":"2014-04-0809:09","type":"news","comment":true,"url":"http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html"}]}
     */
    public int retcode;
    public DataItem data;

    public static class DataItem {
        /**
         * topic : [{"id":10101,"title":"北京","sort":1,"description":"11111111","url":"http://169.254.44.234:8080/zhbj/10007/list_1.json","listimage":"http://169.254.44.234:8080/zhbj/10007/1452327318UU91.jpg"},{"id":10100,"title":"222222222222","sort":2,"description":"22222222","url":"http://169.254.44.234:8080/zhbj/10007/list_1.json","listimage":"http://169.254.44.234:8080/zhbj/10007/1452327318UU91.jpg"}]
         * title : 北京
         * more : /10007/list_2.json
         * news : [{"id":35311,"title":"网上大讲堂第368期预告：义务环保人人有责","commenturl":"http://zhbj.qianlong.com/client/user/newComment/35319","commentlist":"http://169.254.44.234:8080/zhbj/10007/comment_1.json","pubdate":"2014-10-1113:18","type":"news","comment":true,"url":"http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html","listimage":"http://169.254.44.234:8080/zhbj/10007/2078369924F9UO.jpg"},{"id":35312,"title":"马路改建为停车场车位年费高达3000元","commenturl":"http://zhbj.qianlong.com/client/user/newComment/35319","commentlist":"http://169.254.44.234:8080/zhbj/10007/comment_1.json","pubdate":"2014-10-1111:20","type":"news","comment":true,"url":"http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html","listimage":"http://169.254.44.234:8080/zhbj/10007/1509585620ASS3.jpg"},{"id":35313,"title":"北京两年内将迁出1200家工业污染企业","commenturl":"http://zhbj.qianlong.com/client/user/newComment/35319","commentlist":"http://169.254.44.234:8080/zhbj/10007/comment_1.json","pubdate":"2014-10-1110:34","type":"news","comment":true,"url":"http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html","listimage":"http://169.254.44.234:8080/zhbj/10007/1506815057D99I.jpg"},{"id":35314,"title":"大雾再锁京城机场航班全部延误","commenturl":"http://zhbj.qianlong.com/client/user/newComment/35319","commentlist":"http://169.254.44.234:8080/zhbj/10007/comment_1.json","pubdate":"2014-10-1110:08","type":"news","comment":true,"url":"http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html","listimage":"http://169.254.44.234:8080/zhbj/10007/1505891536Z82T.jpg"},{"id":35315,"title":"APEC会议期间调休企业员工盼同步放假","commenturl":"http://zhbj.qianlong.com/client/user/newComment/35319","commentlist":"http://169.254.44.234:8080/zhbj/10007/comment_1.json","pubdate":"2014-10-1110:03","type":"news","comment":true,"url":"http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html","listimage":"http://169.254.44.234:8080/zhbj/10007/1483727032VMXT.jpg"},{"id":35316,"title":"机械\u201c龙马\u201d巡演17日亮相奥园","commenturl":"http://zhbj.qianlong.com/client/user/newComment/35319","commentlist":"http://169.254.44.234:8080/zhbj/10007/comment_1.json","pubdate":"2014-10-1109:59","type":"news","comment":true,"url":"http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html","listimage":"http://169.254.44.234:8080/zhbj/10007/1481879990BEMG.jpg"},{"id":35310,"title":"门头沟获批100套限价房","commenturl":"http://zhbj.qianlong.com/client/user/newComment/35319","commentlist":"http://169.254.44.234:8080/zhbj/10007/comment_1.json","pubdate":"2014-10-1109:54","type":"news","comment":true,"url":"http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html","listimage":"http://169.254.44.234:8080/zhbj/10007/14800329488K7F.jpg"},{"id":35318,"title":"APEC期间净空区放带灯风筝可拘留","commenturl":"http://zhbj.qianlong.com/client/user/newComment/35319","commentlist":"http://169.254.44.234:8080/zhbj/10007/comment_1.json","pubdate":"2014-10-1109:52","type":"news","comment":true,"url":"http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html","listimage":"http://169.254.44.234:8080/zhbj/10007/14791094274LT9.jpg"},{"id":35314,"title":"今起两自住房摇号","commenturl":"http://zhbj.qianlong.com/client/user/newComment/35314","commentlist":"http://169.254.44.234:8080/zhbj/10007/comment_1.json","pubdate":"2014-10-1109:48","type":"news","comment":true,"url":"http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html","listimage":"http://169.254.44.234:8080/zhbj/10007/1478185906G9WQ.jpg"},{"id":35117,"title":"故宫神武门广场拟夜间开放停车","commenturl":"http://zhbj.qianlong.com/client/user/newComment/35117","commentlist":"http://169.254.44.234:8080/zhbj/10007/comment_1.json","pubdate":"2014-10-1109:45","type":"news","comment":true,"url":"http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html","listimage":"http://169.254.44.234:8080/zhbj/10007/1477262385PASS.jpg"}]
         * countcommenturl : http://zhbj.qianlong.com/client/content/countComment/
         * topnews : [{"id":35301,"title":"蜗居生活","topimage":"http://169.254.44.234:8080/zhbj/10007/1452327318UU91.jpg","commenturl":"http://zhbj.qianlong.com/client/user/newComment/35301","commentlist":"http://169.254.44.234:8080/zhbj/10007/comment_1.json","pubdate":"2014-04-0814:24","type":"news","comment":true,"url":"http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html"},{"id":35125,"title":"中秋赏月","topimage":"http://169.254.44.234:8080/zhbj/10007/1452327318UU92.jpg","commenturl":"http://zhbj.qianlong.com/client/user/newComment/35125","commentlist":"http://169.254.44.234:8080/zhbj/10007/comment_1.json","pubdate":"2014-04-0809:09","type":"news","comment":true,"url":"http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html"},{"id":35126,"title":"天空翱翔","topimage":"http://169.254.44.234:8080/zhbj/10007/1452327318UU93.jpg","commenturl":"http://zhbj.qianlong.com/client/user/newComment/35125","commentlist":"http://169.254.44.234:8080/zhbj/10007/comment_1.json","pubdate":"2014-04-0809:09","type":"news","comment":true,"url":"http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html"},{"id":35127,"title":"感官设计","topimage":"http://169.254.44.234:8080/zhbj/10007/1452327318UU94.png","commenturl":"http://zhbj.qianlong.com/client/user/newComment/35125","commentlist":"http://169.254.44.234:8080/zhbj/10007/comment_1.json","pubdate":"2014-04-0809:09","type":"news","comment":true,"url":"http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html"}]
         */
        public List<TopicItem> topic;
        public String title;
        public String more;
        public List<NewsItem> news;
        public String countcommenturl;
        public List<TopnewsItem> topnews;

        public static class TopicItem {
            /**
             * id : 10101
             * title : 北京
             * sort : 1
             * description : 11111111
             * url : http://169.254.44.234:8080/zhbj/10007/list_1.json
             * listimage : http://169.254.44.234:8080/zhbj/10007/1452327318UU91.jpg
             */
            public int id;
            public String title;
            public int sort;
            public String description;
            public String url;
            public String listimage;
        }

        public static class NewsItem {
            /**
             * id : 35311
             * title : 网上大讲堂第368期预告：义务环保人人有责
             * commenturl : http://zhbj.qianlong.com/client/user/newComment/35319
             * commentlist : http://169.254.44.234:8080/zhbj/10007/comment_1.json
             * pubdate : 2014-10-1113:18
             * type : news
             * comment : true
             * url : http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html
             * listimage : http://169.254.44.234:8080/zhbj/10007/2078369924F9UO.jpg
             */
            public int id;
            public String title;
            public String commenturl;
            public String commentlist;
            public String pubdate;
            public String type;
            public boolean comment;
            public String url;
            public String listimage;
            public  boolean isRead = false;//记录当前新闻是否阅读过
        }

        public static class TopnewsItem {
            /**
             * id : 35301
             * title : 蜗居生活
             * topimage : http://169.254.44.234:8080/zhbj/10007/1452327318UU91.jpg
             * commenturl : http://zhbj.qianlong.com/client/user/newComment/35301
             * commentlist : http://169.254.44.234:8080/zhbj/10007/comment_1.json
             * pubdate : 2014-04-0814:24
             * type : news
             * comment : true
             * url : http://169.254.44.234:8080/zhbj/10007/724D6A55496A11726628.html
             */
            public int id;
            public String title;
            public String topimage;
            public String commenturl;
            public String commentlist;
            public String pubdate;
            public String type;
            public boolean comment;
            public String url;
        }
    }
}
